package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 涉旅企业管理对象 bs_qiye
 *
 * @author ruoyi
 * @date 2023-10-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("bs_qiye")
@ApiModel(value = "企业实体")
public class BsQiye extends BaseEntity {

    private static final long serialVersionUID = -6438546382253859594L;
    /**
     * 企业id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 所属景区id
     */
    @Excel(name = "所属景区id")
    @ApiModelProperty(value = "所属景区id")
    private Long jingquId;
    @ApiModelProperty(value = "所属景区名称")
    @TableField(exist = false)
    private String jingquName;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "店铺名称")
    private String name;

    /**
     * 类型-字典type
     */
    @Excel(name = "类型-字典type")
    @ApiModelProperty(value = "店铺类型 详见字典merchant_type")
    private String type;

    /**
     * 地址
     */
    @Excel(name = "地址")
    @ApiModelProperty(value = "地址")
    private String address;

    /**
     * 经纬度
     */
    @Excel(name = "经纬度")
    @ApiModelProperty(value = "经纬度")
    private String addressDetail;

    /**
     * 营业时间
     */
    @Excel(name = "营业时间")
    @ApiModelProperty(value = "营业时间")
    private String businessTime;

    /**
     * 营业电话
     */
    @Excel(name = "营业电话")
    @ApiModelProperty(value = "营业电话")
    private String businessPhone;

    /**
     * 门头照
     */
    @Excel(name = "门头照")
    @ApiModelProperty(value = "门头照")
    private String doorImg;

    /**
     * 营业执照
     */
    @Excel(name = "营业执照")
    @ApiModelProperty(value = "营业执照")
    private String businessLicenseImg;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人姓名")
    @ApiModelProperty(value = "申请人姓名")
    private String applyName;

    /**
     * 申请人手机号
     */
    @Excel(name = "申请人手机号")
    @ApiModelProperty(value = "申请人手机号")
    private String applyPhone;

    /**
     * 状态 0：正常营业 1：暂停营业 2:店铺撤场
     */
    @Excel(name = "状态 0：正常营业 1：暂停营业 2:店铺撤场")
    @ApiModelProperty(value = "状态 0：正常营业 1：暂停营业 2:店铺撤场")
    private String status;

    /**
     * 审核人-姓名
     */
    @Excel(name = "审核人-姓名")
    @ApiModelProperty(value = "审核人-姓名")
    private String auditBy;
    @ApiModelProperty(value = "拒绝原因（非必填）")
    private String auditReason;

    /**
     * 审核状态  0待审核 1已通过 2已驳回
     */
    @Excel(name = "审核状态  0待审核 1已通过 2已驳回")
    @ApiModelProperty(value = "审核状态  0待审核 1已通过 2已驳回")
    private String auditStatus;

    /**
     * 审核时间
     */
    @Excel(name = "审核时间")
    @ApiModelProperty(value = "审核时间")
    private String auditTime;
    /**
     * 逻辑删除字段 0：正常 1：删除
     */
    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "逻辑删除字段 0：正常 1：删除")
    private String delFlag;

    /**
     * 说明 : 创建人id
     */
    @TableField(value = "create_by_id", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建人id")
    private Long createById;

    @TableField(exist = false)
    @ApiModelProperty(value = "数据上报-未上报数量")
    private int unReportNum;

    @TableField(exist = false)
    @ApiModelProperty(value = "web端-文创数据-商品种类数")
    private Integer merchandiseNum;

}
